import axios from 'axios';
const http = axios.create({
  baseURL: 'http://localhost:6500/',
});
http.interceptors.request.use((config) => config);
http.interceptors.response.use(
  (response) => response.data,
  (err) => Promise.reject(err)
);
export { http };
